local mytimer = {}

interval =1000

function mytimer.oncheck()
	print("Test checking...Heap:"..node.heap())
	--wifi.sta.getip())
end

function mytimer.start()
	print("start xtimer... HEAP:"..node.heap())
end

tmr.alarm(1,2000, 1, function() 
	print("hello world")
end)

tmr.alarm(2,3000, 1,mytimer.oncheck)

mytimer.start()

return mytimer
